package com.yan.mapper;

import com.yan.bean.DeptTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yanl_ on 2018/4/25.
 */

@Service
public class DeptTestService {


    @Autowired
    DeptTestMapper deptTestMapperr;

    public int deleteByPrimaryKey(Long deptId) {
        return deptTestMapperr.deleteByPrimaryKey(deptId);
    }


    public int insert(DeptTest record) {
        return deptTestMapperr.insert(record);
    }


    int insertSelective(DeptTest record) {
        return deptTestMapperr.insertSelective(record);
    }


    public DeptTest selectByPrimaryKey(Long deptId) {
        return deptTestMapperr.selectByPrimaryKey(deptId);
    }


    public int updateByPrimaryKeySelective(DeptTest record) {
        return deptTestMapperr.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(DeptTest record) {
        return deptTestMapperr.updateByPrimaryKey(record);
    }

}
